package com.flyduck.system.vo.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @program: flyduck-platform
 * @description: 系统:登录请求VO
 * @author: flyduck
 * @create: 2021-02-02 22:46
 **/
@Data
@ApiModel(value = "系统:登录请求VO")
public class LoginReqVO implements Serializable {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "UUID")
    @NotBlank(message = "uuid不能为空")
    private String uuid;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
